package com.jeethink.erp.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jeethink.common.annotation.Excel;
import com.jeethink.common.core.domain.BaseEntity;

/**
 * 供应商对象 tb_supplier
 * 
 * @author ypr
 * @date 2021-05-26
 */
public class TbSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long supplierId;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 供应商分类 */
    @Excel(name = "供应商分类")
    private String supplierLevel;

    /** 所属总公司 */
    private String headquarters;

    /** 所属地区 */
    @Excel(name = "所属地区")
    private String area;

    /** 业务地域 */
    private String bizZrea;

    /** 备选供应商 */
    private String alterSupplier;

    /** 网站 */
    private String website;

    /** 法人代表 */
    @Excel(name = "法人代表")
    private String corporate;

    /** 法人电话 */
    @Excel(name = "法人电话")
    private String corporatePhone;

    /** 供应商地址 */
    private String address;

    /** 财务信息联系人 */
    private String contactsFinancial;

    /** 财务信息联系电话 */
    private String phoneFinancial;

    /** 开票信息单位名称 */
    private String unitInvoice;

    /** 开票信息开户行 */
    private String bankInvoice;

    /** 开票信息行号 */
    private String bankidInvoice;

    /** 开票信息税号 */
    private String taxInvoice;

    /** 开票信息联系电话 */
    private String phoneInvoice;

    /** 开票信息账号 */
    private String accountInvoice;

    /** 开票地址 */
    private String addressInvoice;

    /** 办款资料单位名称 */
    private String unitPayment;

    /** 办款资料开户行 */
    private String bankPayment;

    /** 办款资料行号 */
    private String bankidPayment;

    /** 办款资料账号 */
    private String accountPayment;

    /** 收件信息地址 */
    private String accountReceipt;

    /** 收件信息邮编 */
    private String postcodeReceipt;

    /** 收件信息收件人 */
    private String addressReceipt;

    /** 收件信息联系电话 */
    private String phoneReceipt;

    /** 收件信息传真 */
    private String faxReceipt;

    /** 附件 */
    private String attachment;

    /** 是否启用 */
    private Long isEnabled;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }
    public void setSupplierLevel(String supplierLevel) 
    {
        this.supplierLevel = supplierLevel;
    }

    public String getSupplierLevel() 
    {
        return supplierLevel;
    }
    public void setHeadquarters(String headquarters) 
    {
        this.headquarters = headquarters;
    }

    public String getHeadquarters() 
    {
        return headquarters;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setBizZrea(String bizZrea) 
    {
        this.bizZrea = bizZrea;
    }

    public String getBizZrea() 
    {
        return bizZrea;
    }
    public void setAlterSupplier(String alterSupplier) 
    {
        this.alterSupplier = alterSupplier;
    }

    public String getAlterSupplier() 
    {
        return alterSupplier;
    }
    public void setWebsite(String website) 
    {
        this.website = website;
    }

    public String getWebsite() 
    {
        return website;
    }
    public void setCorporate(String corporate) 
    {
        this.corporate = corporate;
    }

    public String getCorporate() 
    {
        return corporate;
    }
    public void setCorporatePhone(String corporatePhone) 
    {
        this.corporatePhone = corporatePhone;
    }

    public String getCorporatePhone() 
    {
        return corporatePhone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactsFinancial(String contactsFinancial) 
    {
        this.contactsFinancial = contactsFinancial;
    }

    public String getContactsFinancial() 
    {
        return contactsFinancial;
    }
    public void setPhoneFinancial(String phoneFinancial) 
    {
        this.phoneFinancial = phoneFinancial;
    }

    public String getPhoneFinancial() 
    {
        return phoneFinancial;
    }
    public void setUnitInvoice(String unitInvoice) 
    {
        this.unitInvoice = unitInvoice;
    }

    public String getUnitInvoice() 
    {
        return unitInvoice;
    }
    public void setBankInvoice(String bankInvoice) 
    {
        this.bankInvoice = bankInvoice;
    }

    public String getBankInvoice() 
    {
        return bankInvoice;
    }
    public void setBankidInvoice(String bankidInvoice) 
    {
        this.bankidInvoice = bankidInvoice;
    }

    public String getBankidInvoice() 
    {
        return bankidInvoice;
    }
    public void setTaxInvoice(String taxInvoice) 
    {
        this.taxInvoice = taxInvoice;
    }

    public String getTaxInvoice() 
    {
        return taxInvoice;
    }
    public void setPhoneInvoice(String phoneInvoice) 
    {
        this.phoneInvoice = phoneInvoice;
    }

    public String getPhoneInvoice() 
    {
        return phoneInvoice;
    }
    public void setAccountInvoice(String accountInvoice) 
    {
        this.accountInvoice = accountInvoice;
    }

    public String getAccountInvoice() 
    {
        return accountInvoice;
    }
    public void setAddressInvoice(String addressInvoice) 
    {
        this.addressInvoice = addressInvoice;
    }

    public String getAddressInvoice() 
    {
        return addressInvoice;
    }
    public void setUnitPayment(String unitPayment) 
    {
        this.unitPayment = unitPayment;
    }

    public String getUnitPayment() 
    {
        return unitPayment;
    }
    public void setBankPayment(String bankPayment) 
    {
        this.bankPayment = bankPayment;
    }

    public String getBankPayment() 
    {
        return bankPayment;
    }
    public void setBankidPayment(String bankidPayment) 
    {
        this.bankidPayment = bankidPayment;
    }

    public String getBankidPayment() 
    {
        return bankidPayment;
    }
    public void setAccountPayment(String accountPayment) 
    {
        this.accountPayment = accountPayment;
    }

    public String getAccountPayment() 
    {
        return accountPayment;
    }
    public void setAccountReceipt(String accountReceipt) 
    {
        this.accountReceipt = accountReceipt;
    }

    public String getAccountReceipt() 
    {
        return accountReceipt;
    }
    public void setPostcodeReceipt(String postcodeReceipt) 
    {
        this.postcodeReceipt = postcodeReceipt;
    }

    public String getPostcodeReceipt() 
    {
        return postcodeReceipt;
    }
    public void setAddressReceipt(String addressReceipt) 
    {
        this.addressReceipt = addressReceipt;
    }

    public String getAddressReceipt() 
    {
        return addressReceipt;
    }
    public void setPhoneReceipt(String phoneReceipt) 
    {
        this.phoneReceipt = phoneReceipt;
    }

    public String getPhoneReceipt() 
    {
        return phoneReceipt;
    }
    public void setFaxReceipt(String faxReceipt) 
    {
        this.faxReceipt = faxReceipt;
    }

    public String getFaxReceipt() 
    {
        return faxReceipt;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setIsEnabled(Long isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public Long getIsEnabled() 
    {
        return isEnabled;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("code", getCode())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("supplierLevel", getSupplierLevel())
            .append("headquarters", getHeadquarters())
            .append("area", getArea())
            .append("bizZrea", getBizZrea())
            .append("alterSupplier", getAlterSupplier())
            .append("website", getWebsite())
            .append("corporate", getCorporate())
            .append("corporatePhone", getCorporatePhone())
            .append("address", getAddress())
            .append("contactsFinancial", getContactsFinancial())
            .append("phoneFinancial", getPhoneFinancial())
            .append("unitInvoice", getUnitInvoice())
            .append("bankInvoice", getBankInvoice())
            .append("bankidInvoice", getBankidInvoice())
            .append("taxInvoice", getTaxInvoice())
            .append("phoneInvoice", getPhoneInvoice())
            .append("accountInvoice", getAccountInvoice())
            .append("addressInvoice", getAddressInvoice())
            .append("unitPayment", getUnitPayment())
            .append("bankPayment", getBankPayment())
            .append("bankidPayment", getBankidPayment())
            .append("accountPayment", getAccountPayment())
            .append("accountReceipt", getAccountReceipt())
            .append("postcodeReceipt", getPostcodeReceipt())
            .append("addressReceipt", getAddressReceipt())
            .append("phoneReceipt", getPhoneReceipt())
            .append("faxReceipt", getFaxReceipt())
            .append("attachment", getAttachment())
            .append("remark", getRemark())
            .append("isEnabled", getIsEnabled())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
